<template>
  <slot name="nav"></slot>
  <slot></slot>
  <h1>我是LhzA</h1>
  <slot></slot>
  <slot name="footer"></slot>
  <slot name="lhz"></slot>
  <slot name="lhz-aa" :names="names"></slot>
  <ul>
    <li v-for="(item,index) in names" :key="item + ' ' + index">
      <slot name="lhz-bb" :item="item"></slot>
    </li>
  </ul>
  <slot name="lhz-cc" :names="names"></slot>
  <ul>
    <li v-for="(item,index) in names" :key="item + ' ' + index">
      <slot name="lhz-bb" :nameItem="item"></slot>
    </li>
  </ul>
</template>
<script>
export default {
  name: "LhzA",
  data() {
    return {
      names: ['李昊哲', '李大宝', '李胜龙']
    }
  },
}
</script>

<style scoped>

</style>